/*#include <iostream>
#include<iomanip>
#include<cmath>
#include<cstdlib>
#include<cstring>
using namespace std;
  *//*
*/
/*  int cmp_int(const void*p1,const void *p2)
{
      return(*(int*)p1-*(int*)p2);

}
 void prit(int arr[],int sz)
 {          int i=0;
           for(i=0;i<sz;i++)
           {cout<<" "<<arr[i];}

 }
int main()
{

      int arr[10]={3,1,5,6,8,7,0,44,49,101};
       int sz=sizeof(arr)/sizeof(arr[0]);
       qsort(arr,sz,sizeof(arr[0]),cmp_int);
       prit(arr,sz);

}
*//*
*/
/*
struct Stu
{
    char name[20];
    int age;
};
int cmp_stu_by_age(const void* p1, const void* p2)
{return ((struct Stu*)p1)->age-((struct Stu*)p2)->age;
}
void test2()
{
    struct Stu arr[]={{"zhangjian",20},{"lisi",50},{"wangwu",40}};
    int sz=sizeof(arr)/sizeof(arr[0]);
    qsort(arr,sz,sizeof(arr[0]),cmp_stu_by_age);



}*//*


  int main()
  {
    test2();
  }*/
